import React from 'react';
import Antd from 'antd'

const { Button } = Antd;
const App = () => {
    const [count, setCount] = React.useState(100)
    return <div>
        <p>Count: {count}</p>
        <div>
            <Button onClick={() => {
                setCount(count + 1)
            }}>Add</Button>
            <Button onClick={() => {
                setCount(count - 1)
            }}>Dec</Button>
        </div>    
    </div>
}

export default App;